package org.linlinjava.litemall.db.domain;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class LitemallShopCheckItemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LitemallShopCheckItemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public LitemallShopCheckItemExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public LitemallShopCheckItemExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public static Criteria newAndCreateCriteria() {
        LitemallShopCheckItemExample example = new LitemallShopCheckItemExample();
        return example.createCriteria();
    }

    public LitemallShopCheckItemExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public LitemallShopCheckItemExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdIsNull() {
            addCriterion("shop_check_id is null");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdIsNotNull() {
            addCriterion("shop_check_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdEqualTo(Integer value) {
            addCriterion("shop_check_id =", value, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_check_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopCheckIdNotEqualTo(Integer value) {
            addCriterion("shop_check_id <>", value, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_check_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopCheckIdGreaterThan(Integer value) {
            addCriterion("shop_check_id >", value, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_check_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopCheckIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shop_check_id >=", value, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_check_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopCheckIdLessThan(Integer value) {
            addCriterion("shop_check_id <", value, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_check_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopCheckIdLessThanOrEqualTo(Integer value) {
            addCriterion("shop_check_id <=", value, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_check_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopCheckIdIn(List<Integer> values) {
            addCriterion("shop_check_id in", values, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdNotIn(List<Integer> values) {
            addCriterion("shop_check_id not in", values, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdBetween(Integer value1, Integer value2) {
            addCriterion("shop_check_id between", value1, value2, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopCheckIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shop_check_id not between", value1, value2, "shopCheckId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdIsNull() {
            addCriterion("shop_merchandise_id is null");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdIsNotNull() {
            addCriterion("shop_merchandise_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdEqualTo(Integer value) {
            addCriterion("shop_merchandise_id =", value, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_merchandise_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdNotEqualTo(Integer value) {
            addCriterion("shop_merchandise_id <>", value, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_merchandise_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdGreaterThan(Integer value) {
            addCriterion("shop_merchandise_id >", value, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_merchandise_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("shop_merchandise_id >=", value, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_merchandise_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdLessThan(Integer value) {
            addCriterion("shop_merchandise_id <", value, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_merchandise_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdLessThanOrEqualTo(Integer value) {
            addCriterion("shop_merchandise_id <=", value, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("shop_merchandise_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdIn(List<Integer> values) {
            addCriterion("shop_merchandise_id in", values, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdNotIn(List<Integer> values) {
            addCriterion("shop_merchandise_id not in", values, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdBetween(Integer value1, Integer value2) {
            addCriterion("shop_merchandise_id between", value1, value2, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andShopMerchandiseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("shop_merchandise_id not between", value1, value2, "shopMerchandiseId");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberIsNull() {
            addCriterion("system_surplus_number is null");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberIsNotNull() {
            addCriterion("system_surplus_number is not null");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberEqualTo(Integer value) {
            addCriterion("system_surplus_number =", value, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("system_surplus_number = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberNotEqualTo(Integer value) {
            addCriterion("system_surplus_number <>", value, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("system_surplus_number <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberGreaterThan(Integer value) {
            addCriterion("system_surplus_number >", value, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("system_surplus_number > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("system_surplus_number >=", value, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("system_surplus_number >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberLessThan(Integer value) {
            addCriterion("system_surplus_number <", value, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("system_surplus_number < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberLessThanOrEqualTo(Integer value) {
            addCriterion("system_surplus_number <=", value, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("system_surplus_number <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberIn(List<Integer> values) {
            addCriterion("system_surplus_number in", values, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberNotIn(List<Integer> values) {
            addCriterion("system_surplus_number not in", values, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberBetween(Integer value1, Integer value2) {
            addCriterion("system_surplus_number between", value1, value2, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andSystemSurplusNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("system_surplus_number not between", value1, value2, "systemSurplusNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberIsNull() {
            addCriterion("check_number is null");
            return (Criteria) this;
        }

        public Criteria andCheckNumberIsNotNull() {
            addCriterion("check_number is not null");
            return (Criteria) this;
        }

        public Criteria andCheckNumberEqualTo(Integer value) {
            addCriterion("check_number =", value, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("check_number = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCheckNumberNotEqualTo(Integer value) {
            addCriterion("check_number <>", value, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("check_number <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCheckNumberGreaterThan(Integer value) {
            addCriterion("check_number >", value, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("check_number > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCheckNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("check_number >=", value, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("check_number >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCheckNumberLessThan(Integer value) {
            addCriterion("check_number <", value, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("check_number < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCheckNumberLessThanOrEqualTo(Integer value) {
            addCriterion("check_number <=", value, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("check_number <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCheckNumberIn(List<Integer> values) {
            addCriterion("check_number in", values, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberNotIn(List<Integer> values) {
            addCriterion("check_number not in", values, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberBetween(Integer value1, Integer value2) {
            addCriterion("check_number between", value1, value2, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andCheckNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("check_number not between", value1, value2, "checkNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberIsNull() {
            addCriterion("loss_number is null");
            return (Criteria) this;
        }

        public Criteria andLossNumberIsNotNull() {
            addCriterion("loss_number is not null");
            return (Criteria) this;
        }

        public Criteria andLossNumberEqualTo(Integer value) {
            addCriterion("loss_number =", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("loss_number = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLossNumberNotEqualTo(Integer value) {
            addCriterion("loss_number <>", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("loss_number <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLossNumberGreaterThan(Integer value) {
            addCriterion("loss_number >", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("loss_number > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLossNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("loss_number >=", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("loss_number >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLossNumberLessThan(Integer value) {
            addCriterion("loss_number <", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("loss_number < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLossNumberLessThanOrEqualTo(Integer value) {
            addCriterion("loss_number <=", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("loss_number <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLossNumberIn(List<Integer> values) {
            addCriterion("loss_number in", values, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberNotIn(List<Integer> values) {
            addCriterion("loss_number not in", values, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberBetween(Integer value1, Integer value2) {
            addCriterion("loss_number between", value1, value2, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("loss_number not between", value1, value2, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("remark = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("remark <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("remark > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("remark >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("remark < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("remark <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(LocalDateTime value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(LocalDateTime value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(LocalDateTime value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(LocalDateTime value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<LocalDateTime> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<LocalDateTime> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("add_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("add_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(Integer value) {
            addCriterion("add_user_id =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_user_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(Integer value) {
            addCriterion("add_user_id <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_user_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(Integer value) {
            addCriterion("add_user_id >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_user_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("add_user_id >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_user_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(Integer value) {
            addCriterion("add_user_id <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_user_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("add_user_id <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualToColumn(LitemallShopCheckItem.Column column) {
            addCriterion(new StringBuilder("add_user_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<Integer> values) {
            addCriterion("add_user_id in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<Integer> values) {
            addCriterion("add_user_id not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id not between", value1, value2, "addUserId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private LitemallShopCheckItemExample example;

        protected Criteria(LitemallShopCheckItemExample example) {
            super();
            this.example = example;
        }

        public LitemallShopCheckItemExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(LitemallShopCheckItem.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(LitemallShopCheckItem.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(org.linlinjava.litemall.db.domain.LitemallShopCheckItemExample example);
    }
}